package chpt_04_lesson_01.log;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @author Ping
 * @date 2023/3/15 11:03
 **/
@Component("client")
public class ClientService {
    private Log log ;


    public void serviceMethod() {
        log.write("serviceMethod was invoked.");

    }

    public void setLog(Log log) {
        this.log = log;
    }
}
